home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 002 / chedit.arc / READMEC.BUG < prev    next >
Encoding:
Text File  |  1986-04-20  |  1.3 KB  |  23 lines

  1.    There appears to be a bug in the IBM ROM BIOS and at least 1 clone BIOS
  2. (the Zenith BIOS).  When in high-res graphics mode (640 x 200), the BIOS will
  3. correctly plot a character in the forground color, but it will not erase a
  4. character when plotted in the background color.  Instead, it plots the
  5. character again in the forground color.
  6.    To work around this problem, shell functions for GRCHAR and GRATCHAR are
  7. given in the file REPLACE.BUG.  The shell functions, named GCHAR and GATCHAR,
  8. have the same calling conventions as GRCHAR and GRATCHAR, but when the color
  9. is 0 (background), they plot a space from the regular character set, thus
  10. erasing the character.  Also, as PRINTBANNER and PRINTCOLUMN call the function
  11. GRATCHAR, alternate definitions for them are also in the REPLACE.BUG file.
  12.    Another method of erasing these characters would be to use the XOR draw
  13. available by adding 128 (0x80 in hex, this sets the parity bit) to the
  14. character color.  This is not used in the bug fix, however, as calling the
  15. routine in medium resolution (320 x 200) would need to know the original color
  16. of the character to erase it.
  17.    
  18.    If you know a better solution, or know why this bug exists, I would be
  19. interested in hearing from you.
  20.  
  21.      Thank you,
  22.         Your friendly neighborhood programmer
  23.